<table cellspacing="1" cellpadding="4" width="100%">
    <tr align="center" valign="top">
        <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
            <div class="Block">
                <?php echo $this->renderPartial('add'); ?>
                <table cellspacing="1" cellpadding="4" class="tab" id="ta">
                    <tr class="sub align-center nodrag">
                        <td width="5%"><?php echo CHtml::activeLabel($model, 'player_id'); ?></td>
                        <td width="30%"><?php echo CHtml::activeLabel($model, 'player_name'); ?></td>
                        <td width="20%"><?php echo CHtml::activeLabel($model, 'player_alias'); ?></td>
                        <td width="25%"><?php echo CHtml::activeLabel($model, 'player_create_time'); ?></td>
                        <td width="20%"><?php echo CHtml::activeLabel($model, 'player_create_user'); ?></td>
                        <td width="10%"><?php echo Yii::t("default", "记录管理"); ?></td>
                    </tr>
                    <?php foreach ($model->findAll() as $row): ?>
                        <tbody>
                            <tr class="rows align-center">
                                <td><?php echo $row['player_id']; ?></td>
                                <td class="align-left"><?php echo $row['player_name']; ?> </td>
                                <td><?php echo $row['player_alias']; ?></td>
                                <td><?php echo Yii::app()->dateFormatter->format("yyyy-MM-dd hh:mm:ss",$row['player_create_time']); ?></td>
                                <td><?php echo $row['player_create_user']; ?></td>
                                <td class="align-center"><?php echo ToolsBar::edit($this->createUrl('player/edit', array('id' => $row['player_id']))); ?><?php echo ToolsBar::del($this->createUrl('player/del', array('id' => $row['player_id']))); ?></td>
                            </tr>
                        </tbody>
                    <?php endforeach; ?>
                </table>
            </div>
        </td>
    </tr>
</table>